import { createApp } from 'vue';
// 引入 elementPlus
import ElementPlus from 'element-plus';
import zhCn from 'element-plus/es/locale/lang/zh-cn';

import App from './App.vue';

// 引入 router
import router from './router';

// 引入 pinia
import pinia from '@/store/install';

// 引入全局组件
import globalComp from '@/components/globalPlugin';

// 引入所有的公共样式
import '@/assets/styles/index.scss';

createApp(App)
  .use(ElementPlus, {
    locale: zhCn,
  })
  .use(globalComp)
  .use(router)
  .use(pinia)
  .mount('#app');
